package com.cqtczh.qhd.driver.acticity;


import com.baidu.android.pushservice.CustomPushNotificationBuilder;
import com.baidu.android.pushservice.PushConstants;
import com.baidu.android.pushservice.PushManager;
import com.cqtczh.qhd.driver.R;

import android.app.Activity;
import android.app.Notification;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

/** 
 * @author  作者 E-mail: 
 * @date 创建时间：2015-5-30 下午12:14:54 
 * @version 1.0 
 * @parameter  
 * @since  
 * @return  
 */
public class New_Test_Activity  extends Activity{
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		// TODO Auto-generated method stub
		super.onCreate(savedInstanceState);
		setContentView(R.layout.new_test_activity);
//		Start_PushMessage();
		Button button=(Button) findViewById(R.id.button1);
		button.setOnClickListener(new OnClickListener() {
			
			@Override
			public void onClick(View arg0) {
				// TODO Auto-generated method stub
				Intent intent =new Intent(New_Test_Activity.this,test.class);
				startActivity(intent);
			}
		});
		Button button2=(Button) findViewById(R.id.button2);
		button2.setOnClickListener(new OnClickListener() {
			
			@Override
			public void onClick(View arg0) {
				// TODO Auto-generated method stub
			Intent  intent=new Intent(New_Test_Activity.this,RecorderSound.class);
			startActivity(intent);
			}
		});
		
		Button button3=(Button) findViewById(R.id.button3);
		button3.setOnClickListener(new OnClickListener() {
			
			@Override
			public void onClick(View arg0) {
				// TODO Auto-generated method stub
				Intent intent=new Intent(New_Test_Activity.this,RecorderSound.class);
				startActivity(intent);
			}
		});
	}
//	public void Start_PushMessage() {
//		PushManager.startWork(getApplicationContext(),
//				PushConstants.LOGIN_TYPE_API_KEY, "xGVLGuGeyehuEoNSxwRxFeEu");
//
//	}

}
